package com.p2p.system.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.p2p.model.entity.Realauth;
import com.p2p.model.vo.RealauthQueryVo;
import com.p2p.system.mapper.RealauthMapper;
import com.p2p.system.service.RealauthService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 黄旭彬
 * @since 2023-12-13
 */
@Service
public class RealauthServiceImpl extends ServiceImpl<RealauthMapper, Realauth> implements RealauthService {

    @Override
    public int updateByid(Realauth realauth) {
        return this.baseMapper.updateById(realauth);
    }

    @Override
    public IPage<Realauth> selectRealauthList(Page<Realauth> pageParam, RealauthQueryVo realauthQueryVo) {
        return this.baseMapper.selectRealauthList(pageParam,realauthQueryVo);
    }
}
